-- GENERATED SPELL FOR [Whitewhisker Vermin] --


function spell0_10982(pUnit, Event) --@Infected Wound,n/a--
pUnit:FullCastSpellOnTarget(17230,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_10982', 650, 1)
end

function Sorts_10982(pUnit, Event)
local choix_sorts_10982 = math.random(0, 0)
if choix_sorts_10982 == 0 then
pUnit:RegisterEvent('spell0_10982', 1, 1)
end
end

function mob10982_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_10982', math.random(1500, 3000), 1)
end

function mob10982_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10982_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10982_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(10982, 1, 'mob10982_Action')
RegisterUnitEvent(10982, 2, 'mob10982_Leave')
RegisterUnitEvent(10982, 3, 'mob10982_Kill')
RegisterUnitEvent(10982, 4, 'mob10982_Die')
